package com.dji.sample.common.model;

import lombok.Data;

import java.io.Serializable;

/**
 * @author yjt
 * @date 2022-11-21
 * @description:
 */
@Data
public class MsgBody implements Serializable {

    private static final long serialVersionUID = -7830055333495819325L;

    private String msgId;

    private String key;

    private String event;

    private Object data;

    public MsgBody(String msgId, String key, String event, Object data) {
        this.msgId = msgId;
        this.key = key;
        this.event = event;
        this.data = data;
    }
}
